/**
 * @file logviewer.h
 * @brief LogViewer class interface
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; version 3 of the License.
 *
 * @author VestniK (Sergey N.Vidyuk) sir.vestnik@gmail.com
 * @date 6 Jul 2010
 */
#ifndef MJN_LOGVIEWER_H
#define MJN_LOGVIEWER_H

#include <QtGui/QDialog>
#include <QtGui/QListWidget>

#include "logger.h"

#include "ui_logviewer.h"

namespace mjn {

class LogViewer : public QDialog, private Ui::LogViewer
{
    Q_OBJECT
    public:
        explicit LogViewer(QWidget *parent = 0);
        virtual ~LogViewer() {};

    public slots:
        void newMessage(const LogMessage &message);
};

}

#endif // MJN_LOGVIEWER_H
